{%if not isme%}
    {%if isfriend%}
    <form action="/rmfriend/{{user.username}}" method="POST">
    <input type="submit" value="Remove friend">
    </form>
    {%else%}
    <form action="/addfriend/{{user.username}}" method="POST">
    <input type="submit" value="Add friend">
    </form>
    {%endif%}
{%else%}
    This is you.<br>
{%endif%}
<div>{{user.username}}</div>
<div>{{user.email}}</div>
<br><br>
{%for entity in entities%}
    {{entity.render}}
{%endfor%}
